/*******************************************************************************
 * Copyright (c) 2008 Sylvain Sicard.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Lesser Public License v2.1
 * which accompanies this distribution, and is available at
 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
 * 
 * Contributors:
 *     Sylvain Sicard - initial API and implementation
 ******************************************************************************/
package fr.jade.fraclite.orb.io.messages;

import java.io.Serializable;

public class RpcRequest implements Serializable {
  
  protected String methodName;
  protected Object[] args;
  protected Class[] argTypes;
  
  protected long itfId;
  
  public RpcRequest(long itfId, String methodName, Class[] argTypes, Object[] args ){
    this.methodName = methodName;
    this.argTypes = argTypes;
    this.args = args;
    this.itfId = itfId;
  }

  public Object[] getArgs() {
    return args;
  }

  public void setArgs(Object[] args) {
    this.args = args;
  }

  public String getMethodName() {
    return methodName;
  }

  public void setMethodName(String m) {
    this.methodName = m;
  }

  public Class[] getArgTypes() {
    return argTypes;
  }

  public void setArgTypes(Class[] argTypes) {
    this.argTypes = argTypes;
  }

  public long getItfId() {
    return itfId;
  }

  public void setItfId(long itfId) {
    this.itfId = itfId;
  }

  
}
